<?php
$this->breadcrumbs=array(
	'用户',
	$model->id,
);

$this->menu=array(
//	array('label'=>'List User', 'url'=>array('index')),
//	array('label'=>'Create User', 'url'=>array('create')),
//	array('label'=>'Update User', 'url'=>array('update', 'id'=>$model->id)),
//	array('label'=>'Delete User', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
//	array('label'=>'Manage User', 'url'=>array('admin')),
);
?>

<h1>用户资料 #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'username',
//		'password',
		'realname',
		'tel',
//		'sex',
    array('name'=>'sex', 'value'=> isset($sexArray[$model->sex]) ? $sexArray[$model->sex] : '异常数据'),
//		'class_id',
    array('name'=>'class_id', 'value'=>$model->class->class_name),
//		'status_id',
    array('name'=>'status_id', 'value'=>$model->status->status_name)
	),
)); ?>
